<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@page import="com.lovo.bbs.vo.*,com.lovo.bbs.bo.*,java.util.*"%>

<%
	//用户信息
	String username = request.getParameter("username");
	UserInfoVo userinfo = new UserInfoBo().getUserInfo(username,LoginBo.TYPE_OF_MEMBER);
	// 取得网站杂项信息
	ForumStatVo forumInfo = (ForumStatVo) application
			.getAttribute("forumInfo");
	//更新网站信息
	if (forumInfo == null) {
		forumInfo = new ForumStatBo().getForumInfo();
	}
	application.setAttribute("forumInfo", forumInfo);
%>


<html>
	<head>
		<title>控制面板 - <%=forumInfo.getSiteName()%></title>
		<link href="../css/style.css" type="text/css" rel=stylesheet />
		<link href="../css/menu.css" type="text/css" rel=stylesheet />
		<link href="../css/common.css" type="text/css" rel="stylesheet" />
	</head>
	<body>
		<div id=popLayer style="position: absolute; z-index: 101"
			class=cPopText></div>


		<!--登录状态----------------------------------------------------------------->
		<table width="100%" align="center" cellpadding="0" cellspacing="1"
			class="CommonNavigation_OuterTableCSS">
			<tr>
				<td>
					<table width="100%" cellpadding="9" cellspacing="0">
						<tr>
							<td class="CommonNavigation_InnerTableFooterCSS">
								<table width="100%" cellpadding="0" cellspacing="0" board="1">
									<tr>
										<td class="SmallTxt">
											欢迎:
											<label onMousemove="showPopupText(labeluser)"
												onMouseout="showPopupText('')">
												<a class="UserName"
													href="../userinfo.jsp?username=<%=userinfo.getUserName()%>"><%=userinfo.getUserName()%></a>
											</label>
											<font class="SmlLinks">( </font><a
												href="../LogoutServlet?toindex=true&logedusername=<%=userinfo.getUserName()%>">退出</a><font
												class="SmlLinks"> )</font>&nbsp;&nbsp;
											<a class="FunctionDesk"
												href="control.jsp?username=<%=userinfo.getUserName()%>">控制面板</a>
										</td>
									</tr>
								</table>
							</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>



		<font size="1"><br> </font>


		<!--导航栏----------------------------------------------------------------->
		<table width="100%" cellpadding="0" cellspacing="1"
			class="BreadCrumb_OuterTableCSS">
			<tr>
				<td>
					<table width="100%" cellpadding="9" cellspacing="0"
						class="BreadCrumb_InnerTableCSS">
						<tr>
							<td align="left">
								<a title="返回首页" class="SmlBoldLinks" href="../index.jsp"><%=forumInfo.getSiteName()%>
								</a>
								<font class="BreadCrumb_NavSeperator">&#187;</font>
								<a>控制面板</a>
							</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>


		<font size="1"><br> </font>


		<!--侧边栏----------------------------------------------------------------->

		<!--侧边栏A----------------------------------------------------------------->
		<table width="100%" cellpadding="0" cellspacing="0">
			<tr>
				<td width="20%" valign="top">
					<table Class="forum_out" width="100%" border="0" cellpadding="0"
						cellspacing="0">
						<tr>
							<td>
								<table border="0" width="100%" cellpadding="0" cellspacing="0">
									<tr>
										<td>
											<table width="100%" border="0" cellpadding="9"
												cellspacing="0">
												<tr>
													<td class="forumcell_read">
														<font class="forumcell_read">控制面板</font>
													</td>

												</tr>
											</table>
										</td>
									</tr>
									<tr>
										<td>
											<table border="0" width="100%" cellpadding="9"
												cellspacing="1">
												<tr>
													<td Class="forumcell_button">
														<a class="SmlBoldLinks"
															href="account.jsp?username=<%=userinfo.getUserName()%>">账户管理</a>
													</td>
												</tr>
												<tr>
													<td Class="forumcell_button">
														<a class="SmlBoldLinks"
															href="contact.jsp?username=<%=userinfo.getUserName()%>">联系方式</a>
													</td>
												</tr>

												<tr>
													<td Class="forumcell_button">
														<a class="SmlBoldLinks"
															href="special.jsp?username=<%=userinfo.getUserName()%>">个性化设置</a>
													</td>
												</tr>
											</table>
										</td>
									</tr>
								</table>
							</td>
						</tr>
					</table>



					
					<br>
					<br>
				</td>

				<td>
					&nbsp;
				</td>

				<td width="80%" valign="top">
					<table class="forum_out" width="100%" border="0" cellpadding="0"
						cellspacing="0">
						<tr>
							<td>
								<table border="0" width="100%" cellpadding="0" cellspacing="0">
									<tr>
										<td>
											<table width="100%" border="0" cellpadding="9"
												cellspacing="0">
												<tr>
													<td class="forumcell_read">
														<font class="forumcell_read">用户信息</font>
													</td>
												</tr>
											</table>
										</td>
									</tr>
									<tr>
										<td>
											<table width="100%" cellpadding="10" cellspacing="1">
												<tr onMouseOver="this.style.backgroundColor='#F5FBFF'"
													onMouseOut="this.style.backgroundColor='#FFFFFF'">
													<td width="24%" class="forumcell_button">
														<font style="font: 12px">用户</font>
														<br>
													</td>
													<td class="forumcell_button">
														<font style="font: 12px"><%=userinfo.getUserName()%>
														</font>
													</td>
												</tr>

												<tr onMouseOver="this.style.backgroundColor='#F5FBFF'"
													onMouseOut="this.style.backgroundColor='#FFFFFF'">
													<td width="24%" class="forumcell_button">
														<font style="font: 12px">Email<br> </font>
													</td>
													<td class="forumcell_button">
														<font style="font: 12px"><%=userinfo.getEmail()%></font>
													</td>
												</tr>

												<tr onMouseOver="this.style.backgroundColor='#F5FBFF'"
													onMouseOut="this.style.backgroundColor='#FFFFFF'">
													<td width="24%" class="forumcell_button">
														<font style="font: 12px">主题总数:</font>
													</td>
													<td class="forumcell_button">
														<font style="font: 12px"><%=userinfo.getTopicNum()%>帖
														</font>
													</td>
												</tr>


												<tr onMouseOver="this.style.backgroundColor='#F5FBFF'"
													onMouseOut="this.style.backgroundColor='#FFFFFF'">
													<td width="24%" class="forumcell_button">
														<font style="font: 12px">积分:</font>
													</td>
													<td class="forumcell_button">
														<font style="font: 12px"><%=userinfo.getScore()%>分
														</font>
													</td>
												</tr>

												<tr onMouseOver="this.style.backgroundColor='#F5FBFF'"
													onMouseOut="this.style.backgroundColor='#FFFFFF'">
													<td width="24%" class="forumcell_button">
														<font style="font: 12px">等级<br> </font>
													</td>
													<td class="forumcell_button">
														<font style="font: 12px"><%=userinfo.getRankName()%></font>
													</td>
												</tr>

												<tr onMouseOver="this.style.backgroundColor='#F5FBFF'"
													onMouseOut="this.style.backgroundColor='#FFFFFF'">
													<td width="24%" class="forumcell_button">
														<font style="font: 12px">&nbsp;<br> </font>
													</td>
													<td class="forumcell_button">
														<font style="font: 12px"><img
																src="../images/rank/<%=userinfo.getRankImg()%>" />
														</font>
													</td>
												</tr>

												<tr onMouseOver="this.style.backgroundColor='#F5FBFF'"
													onMouseOut="this.style.backgroundColor='#FFFFFF'">
													<td width="24%" class="forumcell_button">
														<font style="font: 12px">个人主页<br> </font>
													</td>
													<td class="forumcell_button">
														<font style="font: 12px"><%=userinfo.getHomePage()%></font>
													</td>
												</tr>

											</table>
										</td>
									</tr>
								</table>
							</td>
						</tr>
					</table>

				</td>
		</table>
		<br>

		<!--页脚----------------------------------------------------------------->
		<%@include file="../include/copyright.html"%>

		<font size="1"><br> </font>
	</body>
</html>
